2004-08-10 Matthias Clasen <mclasen@redhat.com>
+ * gtk/Makefile.am: Include gtkalias.h in the generated
+ sources gtkmarhalers.c and gtkmarshal.c.
+
+ * gtk/makegtkalias.pl: Cosmetic fix.
+
+ * gdk/Makefile.am: Remove the . which was accidentally added
+ to SUBDIRS. Include gdkalias.h in the generated sources
+ gdkenumtypes.c and gdkmarshalers.c.
+
+ * gdk/makegdkalias.pl: Cosmetic fix.
+
* gdk/Makefile.am: Add gdkalias.h to BUILT_SOURCES.
2004-08-09 Hans Breuer <hans@breuer.org>
2004-08-10 Matthias Clasen <mclasen@redhat.com>
+ * gtk/Makefile.am: Include gtkalias.h in the generated
+ sources gtkmarhalers.c and gtkmarshal.c.
+
+ * gtk/makegtkalias.pl: Cosmetic fix.
+
+ * gdk/Makefile.am: Remove the . which was accidentally added
+ to SUBDIRS. Include gdkalias.h in the generated sources
+ gdkenumtypes.c and gdkmarshalers.c.
+
+ * gdk/makegdkalias.pl: Cosmetic fix.
+
* gdk/Makefile.am: Add gdkalias.h to BUILT_SOURCES.
2004-08-09 Hans Breuer <hans@breuer.org>
2004-08-10 Matthias Clasen <mclasen@redhat.com>
+ * gtk/Makefile.am: Include gtkalias.h in the generated
+ sources gtkmarhalers.c and gtkmarshal.c.
+
+ * gtk/makegtkalias.pl: Cosmetic fix.
+
+ * gdk/Makefile.am: Remove the . which was accidentally added
+ to SUBDIRS. Include gdkalias.h in the generated sources
+ gdkenumtypes.c and gdkmarshalers.c.
+
+ * gdk/makegdkalias.pl: Cosmetic fix.
+
* gdk/Makefile.am: Add gdkalias.h to BUILT_SOURCES.
2004-08-09 Hans Breuer <hans@breuer.org>
2004-08-10 Matthias Clasen <mclasen@redhat.com>
+ * gtk/Makefile.am: Include gtkalias.h in the generated
+ sources gtkmarhalers.c and gtkmarshal.c.
+
+ * gtk/makegtkalias.pl: Cosmetic fix.
+
+ * gdk/Makefile.am: Remove the . which was accidentally added
+ to SUBDIRS. Include gdkalias.h in the generated sources
+ gdkenumtypes.c and gdkmarshalers.c.
+
+ * gdk/makegdkalias.pl: Cosmetic fix.
+
* gdk/Makefile.am: Add gdkalias.h to BUILT_SOURCES.
2004-08-09 Hans Breuer <hans@breuer.org>
## Makefile.am for gtk+/gdk
-SUBDIRS = . $(gdktarget)
+SUBDIRS = $(gdktarget)
DIST_SUBDIRS = linux-fb win32 x11
EXTRA_DIST = \
&& echo timestamp > $(@F)
gdkenumtypes.c: @REBUILD@ $(gdk_public_h_sources) Makefile
( cd $(srcdir) && glib-mkenums \
- --fhead "#define GDK_ENABLE_BROKEN\n#include \"gdk.h\"" \
+ --fhead "#define GDK_ENABLE_BROKEN\n#include \"gdkalias.h\"\n#include \"gdk.h\"" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
&& mv gdkmarshalers-h.tmp gdkmarshalers.h \
|| ( rm -f gdkmarshalers-h.tmp && exit 1)
gdkmarshalers.c: @REBUILD@ gdkmarshalers.list
- $(GLIB_GENMARSHAL) --prefix=gdk_marshal $(srcdir)/gdkmarshalers.list --body > gdkmarshalers-c.tmp \
+ (echo "#include \"gdkalias.h\""; $(GLIB_GENMARSHAL) --prefix=gdk_marshal $(srcdir)/gdkmarshalers.list --body) > gdkmarshalers-c.tmp \
&& mv gdkmarshalers-c.tmp gdkmarshalers.c \
|| ( rm -f gdkmarshalers-c.tmp && exit 1 )
print $preamble;
while (<>) {
- my $str = $_;
- chomp($str);
# ignore empty lines
- if ("$str" eq "") {
- next;
- }
+ next if /^\s*$/;
+ my $str = $_;
+ chomp($str);
my $alias = $str."__internal_alias";
print "extern __typeof ($str) $alias __attribute((visibility(\"hidden\"))); \n";
&& rm -f xgen-gmlh \
&& echo timestamp > $(@F)
gtkmarshalers.c: @REBUILD@ gtkmarshalers.list
- $(GLIB_GENMARSHAL) --prefix=_gtk_marshal $(srcdir)/gtkmarshalers.list --body >> xgen-gmlc \
+ (echo "#include \"gtkalias.h\""; $(GLIB_GENMARSHAL) --prefix=_gtk_marshal $(srcdir)/gtkmarshalers.list --body) >> xgen-gmlc \
&& cp xgen-gmlc gtkmarshalers.c \
&& rm -f xgen-gmlc
&& rm -f xgen-gmh \
&& echo timestamp > $(@F)
gtkmarshal.c: @REBUILD@ gtkmarshal.list
- $(GLIB_GENMARSHAL) --prefix=gtk_marshal $(srcdir)/gtkmarshal.list --body >> xgen-gmc \
+ (echo "#include \"gtkalias.h\""; $(GLIB_GENMARSHAL) --prefix=gtk_marshal $(srcdir)/gtkmarshal.list --body) >> xgen-gmc \
&& cp xgen-gmc gtkmarshal.c \
&& rm -f xgen-gmc
print $preamble;
while (<>) {
- my $str = $_;
- chomp($str);
# ignore empty lines
- if ("$str" eq "") {
- next;
- }
+ next if /^\s*$/;
+ my $str = $_;
+ chomp($str);
my $alias = $str."__internal_alias";
print "extern __typeof ($str) $alias __attribute((visibility(\"hidden\"))); \n";